package com.core.life.service;

import java.util.List;
import java.util.Map;

import com.core.common.dao.Pager;
import com.core.common.pageModel.Combo;
import com.core.life.vo.ConsumeItemVo;

public interface IConsumeItemService {

	void save(ConsumeItemVo type);

	void delete(String ids);

	void update(ConsumeItemVo type);

	boolean existTypeName(ConsumeItemVo type);

	Pager<ConsumeItemVo> getList(int pageIndex, int pageSize, String sort, String order, Map<String,Object> optionMap);
	
	Pager<ConsumeItemVo> getList(Map<String,Object> optionMap);

	List<Combo> getConsumeItemComboList(Long id);

}
